<?php

namespace App\Http\Controllers\Api\Client;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\Api\feedback;


class feedbackController extends Controller
{
    //问题反馈控制器


    //表单添加问题反馈数据
    public function feedbackAddData(Request $request){
        $feedbackdata= $request->post('formData');
        $feedbackdata['user_id']= $request->post('user_id');
        $feedbackdata['is_read']= $request->post('is_read');

        //添加入库
        $addData= feedback::feedbackDataAdd($feedbackdata);
        
        dd($addData);




    }
}
